package com.chunxuan.langquan.dao.bean;

import java.util.List;

/**
 * <p>
 * date: 2021/3/1 15:35
 *
 * @author syd
 * @version 1.0
 */
public class CategoryEntity {


    /**
     * id : 43
     * name : 女士
     * pid : 0
     * image : http://cdn.shop.weivee.com/shop/20200406/086a7eb84609aeb6218cbd31b1788384.png
     * type : product
     * flag : index
     * weigh : 43
     * child : [{"id":65,"name":"大衣 I 风衣","pid":43,"image":"http://cdn.shop.weivee
     * .com/shop/20200406/393f1d44643bd4d9dcb7223449fc09e9.png","type":"product","flag":"",
     * "weigh":65},{"id":66,"name":"夹克外套","pid":43,"image":"http://cdn.shop.weivee
     * .com/shop/20200406/87536ff693464e4965f207fac818badf.png","type":"product","flag":"",
     * "weigh":66},{"id":67,"name":"西装","pid":43,"image":"http://cdn.shop.weivee
     * .com/shop/20200406/0d9ee12f350f08b5fcc753aebcec206a.png","type":"product","flag":"",
     * "weigh":67},{"id":68,"name":"连衣裙","pid":43,"image":"http://cdn.shop.weivee
     * .com/shop/20200406/34b2214914f6485a25e894475cbc54cc.png","type":"product","flag":"",
     * "weigh":68},{"id":69,"name":"衬衫 I 上衣","pid":43,"image":"http://cdn.shop.weivee
     * .com/shop/20200406/1eb96892666f6ba6e9093e86b128b951.png","type":"product","flag":"",
     * "weigh":69},{"id":70,"name":"T 恤","pid":43,"image":"http://cdn.shop.weivee
     * .com/shop/20200406/0307bf61551dcd232bc3e4b03178e8e8.png","type":"product","flag":"",
     * "weigh":70},{"id":71,"name":"毛衣针织","pid":43,"image":"http://cdn.shop.weivee
     * .com/shop/20200406/c06ad721db96281193e0b5dc303c6299.png","type":"product","flag":"",
     * "weigh":71},{"id":72,"name":"裤装","pid":43,"image":"http://cdn.shop.weivee
     * .com/shop/20200406/469c757a4060d53b0c1596d5aba040c5.png","type":"product","flag":"",
     * "weigh":72},{"id":73,"name":"牛仔裤","pid":43,"image":"http://cdn.shop.weivee
     * .com/shop/20200406/1aefd2f2cb2889fd5dafb3ad25b25c35.png","type":"product","flag":"",
     * "weigh":73},{"id":74,"name":"半身裙 | 短裤","pid":43,"image":"http://cdn.shop.weivee
     * .com/shop/20200406/e447634d32a825ad14b66e08c5aff700.png","type":"product","flag":"",
     * "weigh":74},{"id":75,"name":"卫衣","pid":43,"image":"http://cdn.shop.weivee
     * .com/shop/20200406/70e008c1789d992c38b4071be4ff8b83.png","type":"product","flag":"",
     * "weigh":75}]
     */

    private String id;
    private String name;
    private String pid;
    private String image;
    private String type;
    private String flag;
    private String weigh;
    private List<ChildBean> child;
    private boolean isChoose = false;

    public boolean isChoose() {
        return isChoose;
    }

    public void setChoose(boolean choose) {
        isChoose = choose;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getWeigh() {
        return weigh;
    }

    public void setWeigh(String weigh) {
        this.weigh = weigh;
    }

    public List<ChildBean> getChild() {
        return child;
    }

    public void setChild(List<ChildBean> child) {
        this.child = child;
    }

    public static class ChildBean {
        /**
         * id : 65
         * name : 大衣 I 风衣
         * pid : 43
         * image : http://cdn.shop.weivee.com/shop/20200406/393f1d44643bd4d9dcb7223449fc09e9.png
         * type : product
         * flag :
         * weigh : 65
         */

        private String id;
        private String name;
        private String pid;
        private String image;
        private String type;
        private String flag;
        private String weigh;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getFlag() {
            return flag;
        }

        public void setFlag(String flag) {
            this.flag = flag;
        }

        public String getWeigh() {
            return weigh;
        }

        public void setWeigh(String weigh) {
            this.weigh = weigh;
        }
    }
}
